/* 卡片圆角与阴影 */
.card {
    border-radius: 12px;
    overflow: hidden;
  }
  
  /* 表头加粗 */
  .table-light th {
    font-weight: 600;
    color: #495057;
  }
  
  /* 操作按钮统一宽度 */
  .btn-sm {
    min-width: 60px;
  }
  
  /* 悬停变色增强反馈 */
  .btn-outline-primary:hover {
    background-color: #0d6efd;
    color: white;
  }
  .btn-outline-danger:hover {
    background-color: #dc3545;
    color: white;
  }
  
  /* 响应式优化：小屏隐藏部分文字 */
  @media (max-width: 768px) {
    td:nth-child(3), td:nth-child(4) {
      font-size: 0.85em;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      max-width: 120px;
    }
  }
  
  /* 空状态占位（为后续实验准备） */
  #emptyState {
    display: none;
    text-align: center;
    padding: 40px;
    color: #6c757d;
  }
  .sidebar {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 100;
    padding: 0;
    box-shadow: inset -1px 0 0 rgba(0, 0, 0, .1);
}

.sidebar-sticky {
    position: relative;
    top: 0;
    height: 100vh;
    overflow-x: hidden;
    overflow-y: auto;
}

.sidebar .nav-link {
    font-weight: 500;
    color: #333;
    padding: 12px 20px;
    border-radius: 0;
    margin: 0 8px;
    transition: all 0.2s ease-in-out;
}

.sidebar .nav-link:hover {
    color: #0d6efd;
    background-color: rgba(13, 110, 253, .1);
}

.sidebar .nav-link.active {
    color: #fff;
    background-color: #0d6efd;
    border-radius: 4px;
    margin: 0 8px;
}

.sidebar-heading {
    font-size: .875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 1.5rem 1rem 0.5rem;
    margin: 0;
    color: #6c757d;
    font-weight: 600;
}

.sidebar-brand {
    font-size: 1.2rem;
    background-color: rgba(13, 110, 253, 0.05);
    border-right: 1px solid rgba(0, 0, 0, 0.05);
}

/* 主内容区域 */
main {
    padding-top: 20px;
}

/* 登录页面样式 */
.min-vh-100 {
    min-height: 100vh;
}

.card.shadow-lg {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border: none;
}

.input-group-text {
    background-color: #f8f9fa;
    border-color: #dee2e6;
}

.form-control:focus {
    border-color: #86b7fe;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}
